<?php
 $to = "$email";
 $subject = "Welcome!";
 $body = "Welcome. Have fun with your new mail account";
 if (mail($to, $subject, $body)) {
   echo("<p>Message successfully sent!</p>");
  } else {
   echo("<p>Message delivery failed...</p>");
  }
 ?>
